package org.framegen.example.solon;

import org.framegen.solon.FrameGenSolonEntry;
import org.noear.solon.Solon;
import org.noear.solon.SolonApp;
import org.noear.solon.annotation.SolonMain;

@SolonMain
public class SolonExample {
    public static void main(String[] args) {
        SolonApp solonApp = Solon.start(SolonExample.class, args);

        new FrameGenSolonEntry(solonApp.context(), "data")
                .setPackage(builder -> {
                    builder.origin("org.framegen.example.solon");
                })
                .includes("user")
                .mybatisPlus()
                .run(SolonExample.class);
    }
}
